package com.ruoyi.shape.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户选择的手型脸型信息对象 jy_shape_user
 *
 * @author ruoyi
 * @date 2024-03-08
 */
@ApiModel
public class ShapeUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    @ApiModelProperty(value = "用户id")
    private Long userId;

    /** 用户选择的手型id */
    @Excel(name = "脸型和手型id")
    @ApiModelProperty(value = "用户选择的手型id")
    private Long shapeId;

    /** 用户选择的手型id */
    @Excel(name = "用户选择的手型id")
    @ApiModelProperty(value = "用户选择的手型id")
    private Long shapeId1;

    /** 用户选择的脸型id */
    @Excel(name = "用户选择的脸型id")
    @ApiModelProperty(value = "用户选择的脸型id")
    private Long shapeId2;


    /** 1表示手型，2表示脸型 */
    @Excel(name = "1表示手型，2表示脸型")
    @ApiModelProperty(value = "1表示手型，2表示脸型")
    private Long type;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    public void setShapeId(Long shapeId)
    {
        this.shapeId = shapeId;
    }

    public Long getShapeId()
    {
        return shapeId;
    }

    public void setShapeId1(Long shapeId1)
    {
        this.shapeId1 = shapeId1;
    }

    public Long getShapeId1()
    {
        return shapeId1;
    }
    public void setShapeId2(Long shapeId2)
    {
        this.shapeId2 = shapeId2;
    }

    public Long getShapeId2()
    {
        return shapeId2;
    }

    public void setType(Long type)
    {
        this.type = type;
    }
    public Long getType()
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("shapeId1", getShapeId1())
            .append("shapeId2", getShapeId2())
                .append("delState", getDelState())
                .append("delUser", getDelUser())
                .append("delType", getDelType())
                .append("delTime", getDelTime())
                .append("createBy", getCreateBy())
                .append("createType", getCreateType())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateType", getUpdateType())
                .append("updateTime", getUpdateTime())
            .toString();
    }
}
